package com.example.consulconsumer.web;


import com.example.consulconsumer.re.ApiClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/text")
public class TestCOnttroller {

    @Resource
    private ApiClient apiClient;

    @GetMapping("/hi")
    public void hi() {
        apiClient.printfHi();
        System.out.println("ok");
    }

}
